package com.iqiyi.pps.epg.core.service.program;

import com.iqiyi.pps.epg.api.model.web.program.TProgramDirectorCommentary;
import com.iqiyi.pps.epg.api.model.web.program.TProgramDirectorResource;
import com.iqiyi.pps.epg.api.model.web.query.TFilter;
import com.iqiyi.pps.epg.core.model.program.ProgramDirectorResource;

import java.util.List;

/**
 * Created by zhangjing on 2017/3/13.
 */
public interface IProgramDirectorResourceService {
    public ProgramDirectorResource get(int id);
    public List<TProgramDirectorResource> getList(TFilter filter);
    public List<ProgramDirectorResource> findList(TFilter filter);
    public List<ProgramDirectorResource> findByDefault(int directorId);

    public ProgramDirectorResource add(ProgramDirectorResource entity);
    public void update(ProgramDirectorResource entity);
    public void cleanResourceByDirectorId(int directorId);

    List<TProgramDirectorCommentary> getCommentaryList(TFilter filter);

    int deleteCommentaryAllByDirectorId(int directorId);
}
